import Vue from 'vue'
import App from './App.vue'
import router from './router'
import store from './store'

//引用axios 
import axios from 'axios'
import VueAxios from 'vue-axios'
Vue.use(VueAxios,axios);

//引用ElementUI
import ElementUI from 'element-ui'
import "element-ui/lib/theme-chalk/index.css";
Vue.use(ElementUI);

//引用moment处理日期格式处理
import moment from 'moment';
Vue.use(moment);

//图标
import iconPicker from 'e-icon-picker';
import "e-icon-picker/lib/symbol.js"; //基本彩色图标库
import 'e-icon-picker/lib/index.css'; // 基本样式，包含基本图标
import 'font-awesome/css/font-awesome.min.css'; //font-awesome 图标库
import 'element-ui/lib/theme-chalk/icon.css'; //element-ui 图标库
Vue.use(iconPicker, { eIcon: true, ElementUI: true, FontAwesome: true, eIconSymbol: true });

//vue-ls
// const options = {
//   namespace: "vuejs__", // 存储的key键前缀，可自定义
//   name: "ls",          // 命名Vue变量.ls则使用为this.$ls或者Vue.ls,
//   storage: "session", // 存储名称: session, local, memory，更改为session则默认存储在sessionStorage
// };
// Vue.use(Storage, options);//使用vue-ls插件



Vue.config.productionTip = false

new Vue({
  router,
  store,
  render: h => h(App)
}).$mount('#app')
